// AppManager.h

#ifndef _APPMANAGER_h
#define _APPMANAGER_h

#include "global.h"
#include "AppSwitchEvent.h"
#include "AppDefine.h"
#include "Application.h"

class AppManager
{
private:
	std::map<AppName, Application*> apps;
	Application* runApp;
 public:
	 void registerApp(AppName appName, Application* app);
	 virtual void open(AppName appName);
};

extern AppManager appManager;

#endif

